package com.yue92.datalife.service;

import com.yue92.datalife.model.Record;

import java.time.LocalDate;
import java.time.temporal.ChronoUnit;
import java.util.List;

public interface IRecordService extends IService<Record, Long> {

    LocalDate getLocalDate(String recordDate, Integer offset, ChronoUnit chronoUnit);

    List<Record> findByUserId(Long userId);

}
